<?php
/**
 * Author:   tangxiaowen
 * Email:    846506584@qq.com
 * Date:     2019/3/12 0012
 * Describe: 协议验证类
 */

namespace app\index\validate;

use think\Validate;

class Agreement extends Validate
{
    protected $rule = [
        'type'      => 'require',
    ];

    protected $message = [
        'type'      => ['require' => '协议类型不能为空'],
    ];

    protected $scene = [
        'getAgreement' => ['type'],
    ];

}